<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title><?php echo $rs['title'];?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>mp/mp_article.css"/>
<link media="screen and (min-width:1023px)" rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>mp/mp_article_pc.css"/>
<?php
getJs(array('global/jquery-1.7.1.min','global/jquery.lazyload.min'));
?>
<script>
var public_url='<?php echo PUBLIC_PATH;?>';
</script>
<style>
ol, ul {
	list-style-position:inside;
}
#show-public-link{ margin-bottom:10px; margin-top:5px; border:1px #CCCCCC solid; background:#FFFFFF; padding:10px; font-size:13px}
</style>
</head>
<body id="activity-detail">
<div class="rich_media">
<div id="show-public-link">访问链接：<?php echo U('weixin/news/detail',array('id'=>$rs['id']));?></div>
  <div class="rich_media_inner">
    <h2 class="rich_media_title" id="activity-name"><?php echo $rs['title'];?></h2>
    <div class="rich_media_meta_list"> <em id="post-date" class="rich_media_meta text"><?php echo outTime($rs['infotime'],2);?></em> <a class="rich_media_meta link nickname" href="javascript:;" id="post-user"><?php echo $rs['author'];?></a> </div>
    <div id="page-content">
      <div id="img-content">
      <?php
      if ($rs['is_putin']){
      ?>
        <div class="rich_media_thumb" id="media"><img onerror="this.parentNode.removeChild(this)" src="<?php echo getImgUrl($rs['picurl']);?>" /></div>
       <?php
       }
       ?>
        <div class="rich_media_content" id="js_content">
<!---->
<?php echo $rs['content'];?>
<!---->
        </div>
        <div class="rich_media_tool" id="js_toobar"> <?php if($rs['url']){?><a class="media_tool_meta meta_primary" href="<?php echo $rs['url'];?>">阅读原文</a><?php }?></div>
      </div>
    </div>

  </div>
</div>
<script>
$(function(){
$("#js_content").find('img').click(function(){var urls=[];var $this=$(this);var parent=$("#js_content");var current=$(this).attr('data-original');parent.find('img').each(function(i,evt){urls.push($(this).attr('data-original'));});try{WeixinJSBridge.invoke('imagePreview',{current:current,urls:urls});}catch(e){}}).lazyload({effect:"fadeIn"});	
})
</script>
</body>
</html>